package com.kqmanage.service.impl;

import com.kqmanage.dao.AdminDao;
import com.kqmanage.entity.Admin;
import com.kqmanage.service.AdminService;

public class AdminServiceImpl implements AdminService {

	public AdminDao dao;
	@Override
	public Admin login(String aname, String apassword) {
		Admin admin=dao.getAdminByLoginNameAndPassword(aname, apassword);
		return admin;
	}

}
